<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,
        body {
            padding: 0;
            margin: 0;
        }

        .box {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 700px;
            height: 368px;
            /* border: 1px solid #888; */
        }
        .nav {
            position: absolute;
            /* padding: 0px 16px; */
            left: 170px;
            top: 80px;
        }
        .jkr {
            position: absolute;
            left:180px;
            top: 130px;
        }
        .rmb-dx {
            position: absolute;
            left:230px;
            top: 180px;
        }
        .rmb-xx {
            position: absolute;
            left:520px;
            top: 180px;
        }
        .sy {
            position: absolute;
            left: 180px;
            top: 246px;
        }
        .kpr {
            position: absolute;
            left: 630px;
            top: 310px;
        }
        span {
            font-family: '宋体';
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="nav">
            <span class="time"><?php echo $data['time'];?></span>
        </div>
        <div class="jkr">
            <span class="truename"><?php echo $data['truename'];?></span>
        </div>
        <div class="rmb-dx">
            <span class="dx"><?php echo $data['rmbDx'];?></span>
        </div>
        <div class="rmb-xx">
            <span class="xx"><?php echo $data['rmbXx'];?></span>
        </div>
        <div class="sy">
            <span class="hyh">海洋会会费</span>
        </div>
        <div class="kpr">
            <span><?php echo $data['kpr'];?></span>
        </div>
    </div>
</body>
<script>
    // console.log('tt');
    window.print();
    
</script>

</html>